package tingshu.view_object;

import lombok.Data;
import tingshu.data_object.UserDO;

@Data
public class UserVO {
    public int uid;
    public String username;

    public UserVO (UserDO userDO) {
        this.uid = userDO.getUid();
        this.username = userDO.getUsername();
    }
}
